package com.ktjy.web;

import com.ktjy.comm.RoomProperties;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RequestMapping("/room")
@RestController
public class RommConfig {
    @Resource
    private RoomProperties roomProperties;

    @GetMapping("/config")
    public RoomProperties getRoomConfig(){
        return roomProperties;
    }
}
